package com.ycw.service.xiaocai.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ycw.bean.ProDetaile;
import com.ycw.dao.ProDetaileMapper;
import com.ycw.service.xiaocai.FileUploadService;

@Service
public class FileUploadServiceImpl implements FileUploadService {

	@Autowired
	ProDetaileMapper proDetaileMapper;
	//保存图片

	@Override
	public void UploadPhoto(ProDetaile proDetaile) {
		System.out.println("到达service层，保存图片");
		proDetaileMapper.insertSelective(proDetaile);
	}
	

}
